<?php
//声明命名空间
namespace Home\Controller;
//引用父类
use Think\Controller;

class LoginController extends Controller{

	public function login(){
		//删除所有session;
		session(null);
        $this -> assign('thisLoginName',session('thisLoginName'));
		$this -> display();
	}
	public function register(){
        $this -> assign('thisLoginName',session('thisLoginName'));
		$this -> display();
	}
}
?>